<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .d1 {
      border: solid 2px;
      width: 200px;
      height: 200px;
      font-size: 40px;
      /* display: none; */
      /* display: block; */
      /* display: inline; */
      display: inline-block;
    }
    p span {
      font-size: 40px;
      border: solid;
      /* display: block; */
      /* display: inline; */
      display: inline-block;
    }
  </style>
</head>

<body>
  <div class="d1">hello</div>
  <div class="d1">hello</div>
  <div class="d1">hello</div>

  <p> this is <span>tag</span> p !!</p>

</body>

</html>